package cn.jhz.learn.blog.dao.account;

import cn.jhz.learn.blog.po.account.AccountRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AccountRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AccountRole record);

    int insertSelective(AccountRole record);

    AccountRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AccountRole record);

    int updateByPrimaryKey(AccountRole record);

    /*自定义*/
    List<AccountRole> selectByPrimaryKeys(@Param("ids") List<Integer> ids);
}